$webwork.htmlEncode($page.space.name) : Problems running GeoServer and Cold Fusion
This page last changed on May 16, 2006 by miles.
Q: I get NoSuchMethodErrors when running GeoServer on a server with ColdFusionIf you are running ColdFusion and Geoserver under JRun, there is a small possiblility that you will encounter this error. The error is often generated not because a method is missing as the name of the error suggests, but because there is a duplicate class in your classpath. Coldfusion, for some reason, modifies JRun's default JVM configuration. All JRun's servers (even though they are running as separate processes) use the same configuration by default. Coldfusion adds its own library path as a JNI library path to this 'default' configuration. That means any libraries that coldfusion uses, geoserver will use by default too (as will any other server you run under JRun), even though they are running under separate processes. To rectify, either coldfusion or geoserver should be set to use a custom JVM configuration. The details of how to make a JRun server start using a custom configuration can be found at http://www.adobe.com/go/tn_18206/. You can just copy the default JVM configuration and remove any references to coldfusion, then apply it as a custom configuration to geoserver. I'll explain the whole process now.
That's it. Geoserver will now start as a windows service using the configuration file you just made, and it won't be affected by coldfusion any longer. Note: This has only been tested to work on Windows XP and Windows 2000 Server. If you have success using it on another OS, please post a comment. |
![]() |
Document generated by Confluence on Jan 16, 2008 23:27 |